package org.apache.servicecomb.samples.practise.houserush.user.center.api;

import org.apache.servicecomb.samples.practise.houserush.user.center.rpc.po.Favorite;
import org.apache.servicecomb.samples.practise.houserush.user.center.rpc.po.HouseDetail;
import org.apache.servicecomb.samples.practise.houserush.user.center.rpc.po.HouseOrder;


import java.util.List;


public interface UserCenterApi {

    String testRPC();

    //    主要是查询客户信息：
//    GET 查询客户收藏列表 /favorites
    List<Favorite> findMyFavorite(int customerId);

    //    GET 查询客户收藏详情 /favorites/{id}
    HouseDetail findByHouseIdDetail(int houseId);

    //    GET 查询房源订单 /buyHouseOrderState
    List<HouseOrder> findMyHouseOrder(int customerId);


}
